## java:8-alpine（145） java8:latest （500m）
FROM java:8-alpine
 # 维者信息
MAINTAINER adun
ENV MYPATH /work
RUN mkdir -p /work /work/config /work/libs /work/logs /work/file
EXPOSE  9000
COPY  ./my_musc_service-0.0.1-SNAPSHOT.jar  /work/mymusic.jar
WORKDIR  $MYPATH
CMD ["java","-Dspring.config.location=optional:classpath:/,optional:classpath:/config/,optional:file:./,optional:file:./config/","-jar","/work/mymusic.jar"]
